﻿@{
    ViewBag.Title = "EmailSettings";
}
@using Lavka.Core
@model SmtpSettings

@{
    ViewBag.Title = "Edit";
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm("EmailSettings", "Admin", FormMethod.Post))
{
    @Html.ValidationSummary(true)
    <div class="panel ui-corner-all">
       
        <h2>Настройки Почты</h2>

        @Html.Partial("Message")
        
		@Html.Partial("SmtpSettings", Model)

        <div class="navigateButton">
            <input type="submit" value="Сохранить" class="button" />
        </div>
    </div>
}
